//引入模块使用
import axios from 'axios'
axios.defaults.baseURL = '/api';
// axios.defaults.timeout = 5000
//暴露出去
//7天
export const week =()=>{
    return axios('apis/block/week')
};
//一月
export const month =()=>{
    return axios('apis/block/month')
};
export const all =()=>{
    return axios('apis/block/all')
}
//过去半年
export const monday =()=>{
    return axios('apis/block/monday/day180')
}